#pragma once
#include"game.h"

typedef struct Button
{
    int x;
    int y;
    int w;
    int h;
    COLORREF color;
    char* text;

}BUTTON, * LPBUTTON;
int inButton(LPBUTTON button, MOUSEMSG m);
void drawButton(LPBUTTON button);
LPBUTTON creatButton(int x, int y, int w, int h, const char* str);
